<?php defined( '_JEXEC' ) or die( 'Restricted access' ); ?>
<?php 
	if($this->myRoutesTask->getTask()== null){
		?>
		<p id="p<?php echo $this->route->getId(); ?>" style="float:right"><?php echo $this->myRoutesTask->getImgTitle(); ?></p>
		<img id="img<?php echo $this->route->getId(); ?>" style="float:right" src="<?php echo $this->myRoutesTask->getImg(); ?>" title="<?php echo $this->myRoutesTask->getImgTitle(); ?>"/>
		<?php
	}
	else{
		?>
		<p id="p<?php echo $this->route->getId(); ?>" style="float:right"><?php echo $this->myRoutesTask->getImgTitle(); ?></p>
		<a id="a<?php echo $this->route->getId(); ?>" href="<?php echo $this->myRoutesTask->getLink(); ?>">
			<img class="<?php echo $this->myRoutesTask->getTask(); ?>" id="img<?php echo $this->route->getId(); ?>" style="float:right" src="<?php echo $this->myRoutesTask->getImg(); ?>" title="<?php echo $this->myRoutesTask->getImgTitle(); ?>"/>
		</a>
		<?php
	}
?>